[SPARK-20395][BUILD] Update Scala to 2.11.11 and zinc to 0.3.15#17982
[SPARK-20395][BUILD] Update Scala to 2.11.11 and zinc to 0.3.15#17982srowen wants to merge 3 commits intoapache:masterfrom
Conversation
|
Test build #76933 has finished for PR 17982 at commit
|
|
@ScrapCodes it's good you're here because this might be something you can help with. (CC @dragos as well) I'm updating to scala 2.11.11, and it looks like the |
|
@ScrapCodes ah I should have pointed out the other constraint: we want this to still work with 2.11.8. Right now Spark would not run vs Scala 2.11.9+ at runtime, but if we tried to hook into |
|
Actually, now I am wondering, how would it work without createInerpreter is executed. Your constraint, makes things a bit tricky. I will think more before I reply. |
|
If I am not able to come up with the better alternative, then following not so ideal option exist.
|
|
If I'm not mistaken the current patch will fail on files passed via I'm not sure if there's a better way, especially one that works on all 2.11 series. Mea culpa for not adding a comment on |
|
Test build #76936 has finished for PR 17982 at commit
|
|
The contract was never well-defined.
I can't tell just by looking if that suits your needs here, but it's the most ancient hook enshrined by sbt. @adriaanm is taking executive action to modularize/make API for REPL reuse. Possibly you're aware or he's only just started and is in stealth mode. That will address the issue in future. |
|
Yeah, this was always a bit of a hack as this isn't an API. |
|
Test build #76946 has finished for PR 17982 at commit
|
|
Test build #3728 has started for PR 17982 at commit |
|
Test build #3741 has finished for PR 17982 at commit
|
|
Test build #77096 has finished for PR 17982 at commit
|
|
Darn. I don't know if this is going to work. I'm closing this for now. |
|
Thanks for the effort. I'll take a hack soon. If it's hopeless, I'll at least try to track developments with the new REPL API. |
|
@som-snytt @srowen what about |
|
Unless it changed the internals of the interpreter to afford a different place to hack in the init, don't think it is any different. However the build and most tests already work with 2.12.d |
|
2.12 would be even better. I haven't seen a ticket related to 2.12 upgrade. I can give it a try. |
What changes were proposed in this pull request?
Update Scala to 2.11.11 and zinc to 0.3.15
How was this patch tested?
Existing tests.